-- All code by Kez


if ( SERVER ) then

	AddCSLuaFile( "shared.lua" )
	
	SWEP.HoldType			= "smg"
	
end

if ( CLIENT ) then

	SWEP.Author				= "Switzerkaese"
	SWEP.Contact			= ""
	SWEP.Purpose			= ""
	SWEP.Instructions		= "Left Click to fire"
	SWEP.PrintName			= "H&K MP7"
	SWEP.Slot				= 3
	SWEP.SlotPos			= 0
	SWEP.IconLetter			= "c"
	
	SWEP.ViewModelFlip		= true
	
	killicon.AddFont("cse_mp5","CSKillIcons",SWEP.IconLetter,Color(255,80,0,255))
	
end


SWEP.Base				= "weapon_cs_base"
SWEP.Category			= "SGRP Stuff"

SWEP.Spawnable			= true
SWEP.AdminSpawnable		= true

SWEP.ViewModel			= "models/weapons/v_smg_mp7.mdl"
SWEP.WorldModel			= "models/weapons/w_smg1.mdl"

SWEP.Weight				= 4
SWEP.AutoSwitchTo		= true
SWEP.AutoSwitchFrom		= true

SWEP.Primary.Sound			= "weapons/mp7/mp7a1_fire.wav"
SWEP.Primary.Recoil			= 2
SWEP.Primary.Damage			= 12
SWEP.Primary.NumShots		= 1
SWEP.Primary.Cone			= 0.01
SWEP.Primary.ClipSize		= 40
SWEP.Primary.Delay			= 0.08
SWEP.Primary.DefaultClip	= 200
SWEP.Primary.Automatic		= true
SWEP.Primary.Ammo			= "smg1"

SWEP.IronSightsPos = Vector (1.6038, -1.966, 1.9615)
SWEP.IronSightsAng = Vector (-3.7161, 0.5023, 0.3919)

